package com.bblocks.common.anti_reptile.module;

import com.bblocks.common.anti_reptile.config.bean.RuleComm;
import lombok.Builder;
import lombok.Data;

/**
 * <p>Project: bb-anti-reptile - MatchResult</p>
 * <p>描述：匹配结果(限流匹配以及解除匹配)</p>
 *
 * @Author Zhao [125043150@qq.com]
 * @Date 2024/4/16 9:54
 * @Version 1.0
 * @since 8
 */
@Builder
@Data
public class MatchResult {

    /**
     * 匹配规则
     */
    private RuleComm matchRule;

    /**
     * ip/userId(可能为空)
     */
    private String id;

    /**
     * 涉嫌资源
     */
    private String url;
}
